/**
 * @(#)MonitorTaskInfo.java 2017年2月15日
 * Copyright(C) 2017 ZHEXIN IT CO.,LTD. All rights reserved.
 */
package org.jsbd.boss.domian.monitor;


import java.text.DecimalFormat;

import org.jsbd.boss.annotation.ExportExcelAnnotation;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * 模拟器行为监控
 * @author <a href="mailto:zhouchao@xingbook.com" >周超</a>
 * @version 1.0.0
 */
public class MonitorSimulatorActionInfo extends MonitorColor{
	public static final Logger LOGGER = LoggerFactory.getLogger(MonitorSimulatorActionInfo.class);
	//用于模拟器任务处理监控
	@ExportExcelAnnotation(index = 1)
	private String apkName;
	
	private Double fileFailRate;
	
	@ExportExcelAnnotation(index = 2)
	private String fileFailRateShow;
	
	@ExportExcelAnnotation(index = 3)
	private Long totalNum;
	
	@ExportExcelAnnotation(index = 4)
	private Long fileFailNum;
	
	@ExportExcelAnnotation(index =5)
	private Long successNum;
	
	@ExportExcelAnnotation(index =6)
	private String successRate;
	
	@ExportExcelAnnotation(index = 7)
	private String channelName;
	
	@ExportExcelAnnotation(index = 8)
	private String mark;
	
	private String startTime;
	private String endTime;
	
	public String getMark() {
		return mark;
	}
	public void setMark(String mark) {
		this.mark = mark;
	}
	public String getStartTime() {
		return startTime;
	}
	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}
	public String getEndTime() {
		return endTime;
	}
	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}
	public Long getFileFailNum() {
		return fileFailNum;
	}
	public void setFileFailNum(Long fileFailNum) {
		this.fileFailNum = fileFailNum;
	}
	public Long getTotalNum() {
		return totalNum;
	}
	public void setTotalNum(Long totalNum) {
		this.totalNum = totalNum;
	}
	public Long getSuccessNum() {
		return successNum;
	}
	public void setSuccessNum(Long successNum) {
		this.successNum = successNum;
	}
	public String getSuccessRate() {
		return successRate;
	}
	public void setSuccessRate(String successRate) {
		this.successRate = successRate;
	}
	public String getApkName() {
		return apkName;
	}
	public void setApkName(String apkName) {
		this.apkName = apkName;
	}
	public String getChannelName() {
		return channelName;
	}
	public void setChannelName(String channelName) {
		this.channelName = channelName;
	}
	public Double getFileFailRate() {
		return fileFailRate;
	}
	public void setFileFailRate(Double fileFailRate) {
		this.fileFailRate = fileFailRate;
		if(fileFailRate!=null){
			this.fileFailRateShow=new DecimalFormat("#0.0000").format(fileFailRate);
		}
	}
	public String getFileFailRateShow() {
		return fileFailRateShow;
	}
	public void setFileFailRateShow(String fileFailRateShow) {
		this.fileFailRateShow = fileFailRateShow;
	}
	
}
